-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract playlists description #1061
Extract playlists description #1061
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, you need to also implement these changes in PlaylistInfo
.
extractor/src/main/java/org/schabi/newpipe/extractor/playlist/PlaylistExtractor.java
Show resolved
Hide resolved
I already implemented that locally. There are a few more changes which I am going to push within the next days. |
Implement PlaylistExtractor.getDescription() for PeerTube and SoundCloud. Anotate PlaylistExtractor.getDescription() as Nonnull
…etDescription() [PeerTube] Implement the corresponding extractor method. TODO: add tests
@fynngodau I am unsure which parts of the album description should be used as description. Can you give me an advice? |
When looking at the website, Bandcamp seems to unify everything you added, but on the mobile Android app, credits are separated in a I think we should follow this behavior, as credits and copyright are not parts of a description. |
The copyright text is debatable because the individual tracks also always have copyright info, so it is not strictly necessary here and could be removed. The credits otoh should be read out here, as long as there's no separate method |
This PR adds a getDescription method for playlist extraction + tests for the description. I am not planning on creating a PR in NewPipe to support this (I implemented this to hopefully add this to the Piped API)
API changes
This PR adds
PlaylistExtractor.getDescription()
and the correspondingPlaylistInfo.getDescription()
PlaylistInfoItemExtractor.getDescription()
and the correspondingPlaylistInfoItem.getDescription()